import service from '@/utils/request'
//用户登录
export const loginApi = (username, password) => {
  console.log('api', username, password)
  return service.post('/auth/login', {
    username,
    password
  })
}

//退出登录
export const loginOutApi = () => {
  return service.post('/auth/logout')
}
